
package com.shop.cereshop.admin.dao.versions;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.commons.domain.versions.AppVersions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AppVersionsDAO extends BaseMapper<AppVersions> {

   List<AppVersions>  selectPageAppAndAgreement(@Param("appName") String appName);

    List<AppVersions> selectPageByIdOrName(@Param("appName") String appName, @Param("appId") Long appId);

//    新增数据

    Integer insertAppInfo(AppVersions param);


     Integer updateAppInfo(AppVersions param);

}
